// 首页类型
export interface RankingData {
    aid: string
    author: string
    badgepay: boolean
    bvid: string
    coins: number
    create: string
    description: string
    duration: string
    favorites: number
    mid: number
    pic: string
    play: number
    pts: number
    redirect_url: string
    review: number
    rights: Rights
    subtitle: string
    title: string
    typename: string
    video_review: number
}

export interface DefaultData {
    code: number
    data: Array<RankingData>
    message: string
    ttl: number
}

export interface DefaultHotData {
    code: number
    data: Array<HotData>
    message: string
    page: { count: number, pn: number, ps: number }
}

export interface HotData {
    aid: number
    author: Author
    bvid: string
    corner_mark: number
    ctime: number
    duration: number
    hot_desc: string
    pic: string
    pubdate: number
    stat: Stat
    tags: Array<[]>
    title: string
    tname: string
    type_id: number
}

export interface DefaultLiveData {
    code: number
    data: LiveData
    message: string
    msg: string
}

export interface LiveData {
    interval: number
    module_list: Array<ModuleData>
}

export interface ModuleData {
    list: Array<ModuleLiveData>
    module_info: ModuleInfo
}

export interface ModuleListBanner {
    id: string
    link: string
    pic: string
    title: string
}

export interface ModuleLiveData {
    id: string
    pic: string
    accept_quality?: string
    area_v2_id?: number
    area_v2_name?: string
    area_v2_parent_id?: number
    area_v2_parent_name?: string
    broadcast_type?: number
    cover: string
    current_quality?: number
    face: string
    flag?: number
    link: string
    online?: number
    pendent_ld?: string
    pendent_ld_color?: string
    pendent_ru?: string
    pendent_ru_color?: string
    pendent_ru_pic?: string
    pk_id?: number
    play_url?: string
    rec_type?: number
    roomid: number
    title: string
    uid: number
    uname: string
    watched_show: WatchedShow
}

interface WatchedShow {
    icon:string
    icon_location:number
    icon_web:string
    num:number
    switch:boolean
    text_large:string
    text_small:string
}

interface ModuleInfo {
    area_v2_id: number
area_v2_parent_id: number
count: number 
id
: 
number
link
: 
string
pic
: 
string
sort
: 
number
title
: 
string
type
: 
number
}

interface Author {
    face: string
    mid: number
    name: string
}

interface Stat {
    aid: number
    coin: number
    danmaku: number
    dislike: number
    favorite: number
    his_rank: number
    like: number
    now_rank: number
    reply: number
    share: number
    view: number
}


interface Rights {
    arc_pay: number
    autoplay: number
    bp: number
    download: number
    elec: number
    hd5: number
    is_cooperation: number
    movie: number
    no_background: number
    no_reprint: number
    pay: number
    pay_free_watch: number
    ugc_pay: number
    ugc_pay_preview: number
}


